package net.starwifi.duobao.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;

/**
 * Controller - 共用
 * 
 * @author ruoo
 * @version 1.0
 */
@Controller("wapCommonController")
public class CommonController {

	/**
	 * 错误提示
	 */
	@RequestMapping("/error")
	public String error() {
		return "/common/error";
	}

	/**
	 * 资源不存在
	 */
	@RequestMapping("/resource_not_found")
	public String resourceNotFound(HttpServletRequest request) {

		return "/common/resource_not_found";
	}




}